package com.scu.dao;

import com.scu.pojo.User;
import com.scu.pojo.UserRank;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminDao {
    public List<User> getAllUser(@Param("index")int index, @Param("limit")int limit);
    public List<UserRank> getUserRank();
    public List<User> getNewUser();
    public int changeUserType(@Param("u_id") int u_id);
    public int deleteUser(@Param("u_id") int u_id);
    public int banUser(@Param("u_id") int u_id);
    public int getUserNum();
}
